package com.example.demo.mapper;

import com.example.demo.entity.Complaint;
import com.example.demo.pojo.ComplaintDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ComplaintMapper {
    public List<Complaint> list(ComplaintDTO complaintDTO);

    int add(Complaint complaint);
}
